package router

import (
	"go_ruoyi/middleware"
	"go_ruoyi/services"

	"github.com/gin-gonic/gin"
)

func Login(r *gin.Engine) {
	r.POST("/login", services.LoginService)
	r.POST("/logout", services.LoginOut)
	r.GET("/getInfo", middleware.Auth, services.GetInfoService)
	r.GET("/getRouters", middleware.Auth, services.GetRouters)

}
